package nl.vu.few.ibivu.biomodels.shared;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Embedded;
import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.Indexed;
import com.googlecode.objectify.annotation.Unindexed;

public class PetrifierState implements Serializable {
	private @Id Long id;
	private @Unindexed @Embedded List<Integer> values;
	private @Indexed Key<PetrifierModelExecution> execution;
	private @Indexed Key<PetrifierConnectedComponent> component;
	
	private PetrifierState() {}
	
	public PetrifierState(Key<PetrifierModelExecution> execution, Key<PetrifierConnectedComponent> component, List<Integer> values) {
		this();
		this.component = component;
		this.execution = execution;
		this.values = values;
	}
}
